#ifndef LOG_H
#define LOG_H

#define CARDS_IN_ONE_LINE 12

#include "board.h"
#include "card.h"
#include "player.h"

void log_card(FILE* fp, card c);

void log_welcome(FILE* fp);

void log_args(FILE* fp, struct args args);

void log_shuffle(FILE* fp, struct board* board);

void log_init_result(FILE* fp, card c);

void log_game_header(FILE* fp);

void log_game_summary(FILE* fp, struct player* players, struct board* board, struct args args);

void log_turn_header(FILE* fp, struct player* player, struct board* board);

void log_player_cards(FILE* fp, struct player* player);

void log_draw_cards(FILE* fp, struct player* player, int cards_count);

void log_board_topn(FILE* fp, struct board* board, int topn);

void log_player_played(FILE* fp, struct board* board, int cards_count, int player_id);

void log_cards(FILE* fp, card* cards, int cards_count);

void log_show_card(FILE* fp, int player_id, card c);

#endif
